//
//  templateAppDelegate.h
//  template
//
//  Created by SIO2 Interactive on 8/22/08.
//  Copyright SIO2 Interactive 2008. All rights reserved.
//

//File modified by Goffredo Marocchi (this is not the original SIO2 provided file,
//sio2 and its creator ROm are not responsible for the content of this file as it is now

#import <UIKit/UIKit.h>

@class EAGLView;

@interface templateAppDelegate : NSObject <UIAccelerometerDelegate> {
	//IBOutlet UIWindow *window;
	//IBOutlet EAGLView *glView;
	//BOOL online;
}

@property (nonatomic, retain) IBOutlet UIWindow *window;
@property (nonatomic, retain) IBOutlet EAGLView *glView;
@property BOOL online;

- (void) connectionTest;
- (void) connectedToNetwork;
- (void)connection:(NSURLConnection *)connection didReceiveData:(NSData *)data;
- (void)connection:(NSURLConnection *)connection didReceiveResponse:(NSURLResponse *)response;
- (void)connectionDidFinishLoading:(NSURLConnection *)connection;
- (void)didRotateMethod:(NSNotification*) sender;

@end

